package com.example.hookdemo.proxy;import android.view.View;public class ProxyOnClickListener implements View.OnClickListener {    /*该hook对象用于执行原有的逻辑*/    private View.OnClickListener clickListener;    public ProxyOnClickListener(View.OnClickListener clickListener) {        this.clickListener = clickListener;    }    @Override    public void onClick(View v) {        System.out.println("点击事件目标对象被hook到");        if (clickListener!=null)clickListener.onClick(v);    }}